package com.kevin.mediator;

/**
 * 抽象同事类
 *
 * @author kevin
 * @date 2025/8/22
 */
public abstract class Colleague {

    protected Mediator mediator;

    public void setMediator(Mediator mediator)
    {
        this.mediator = mediator;
    }

    public abstract void send();

    public abstract void receive();
}
